@@ -559,7 +559,7 @@ def activity_contribute_list(request):  | 
            ||
| 559 | 559 | 
                 | 
            
| 560 | 560 | 
                contributions = MemberActivityContributionInfo.objects.filter(activity_id=activity_id, status=True)  | 
            
| 561 | 561 | 
                if 'content_type' in request.POST:  | 
            
| 562 | 
                - contributions.filter(content_type=content_type)  | 
            |
| 562 | 
                + contributions = contributions.filter(content_type=content_type)  | 
            |
| 563 | 563 | 
                if 'is_myself' in request.POST:  | 
            
| 564 | 564 | 
                if is_myself:  | 
            
| 565 | 565 | 
                contributions = contributions.filter(user_id=user_id)  | 
            
                @@ -1,19 +0,0 @@  | 
            ||
| 1 | 
                -# -*- coding: utf-8 -*-  | 
            |
| 2 | 
                -# Generated by Django 3.2.9 on 2022-07-04 12:01  | 
            |
| 3 | 
                -  | 
            |
| 4 | 
                -from django.db import migrations, models  | 
            |
| 5 | 
                -  | 
            |
| 6 | 
                -  | 
            |
| 7 | 
                -class Migration(migrations.Migration):  | 
            |
| 8 | 
                -  | 
            |
| 9 | 
                - dependencies = [  | 
            |
| 10 | 
                -        ('coupon', '0016_auto_20201202_1203'),
               | 
            |
| 11 | 
                - ]  | 
            |
| 12 | 
                -  | 
            |
| 13 | 
                - operations = [  | 
            |
| 14 | 
                - migrations.AlterField(  | 
            |
| 15 | 
                - model_name='usercouponinfo',  | 
            |
| 16 | 
                - name='coupon_from',  | 
            |
| 17 | 
                - field=models.CharField(blank=True, db_index=True, default='MEMBER_BENEFITS', help_text=u'劵来源', max_length=32, null=True, verbose_name='coupon_from'),  | 
            |
| 18 | 
                - ),  | 
            |
| 19 | 
                - ]  |